import { Visualizer } from "@uirouter/visualizer";

/**
 * @ngConfig
 * @param {import('@uirouter/core').UIRouter} $uiRouter
 * @param {angular.IHttpService} $http
 */
export function useRouterVisualizer($uiRouter, $http) {
  $uiRouter.plugin(Visualizer);
  // send Beacon
  // $http.get('//localhost:5327/people', { cache: true });
}

useRouterVisualizer.$inject = ["$uiRouter", "$http"];
